package com.ibp.comparator;

import java.util.Comparator;

import com.ibp.entity.HostMachine;
import com.ibp.entity.SysRunManage;
import com.ibp.utils.StringUtil;

public class ComparatorHM implements Comparator<HostMachine> {

	  @Override
	  public int compare(HostMachine o1, HostMachine o2) {
			String sn1 = o1.getIbasAddress();
			String sn2 = o2.getIbasAddress();
			int flag = sn1.compareTo(sn2);
			return flag ;
	  }
}
